Test Data Generation Based on Test Path Discovery Using Intelligent Water Drop

نویسندگان

  • Praveen Ranjan Srivastava
  • Amitkumar Patel
  • Kunal Patel
  • Prateek Vijaywargiya
چکیده

Automatic test data generation is required to generate test cases dynamically for a specific software program. Manual generation of test data is too tedious and a time consuming task. This paper proposes a technique using Intelligent Water Drop (IWD) for automatic generation of test data. Correctly generated test data helps in reducing the effort while testing the software. This paper discusses different algorithms based on IWD to generate test data and path coverage over Control Flow Graph. Test data is generated keeping in mind all of the programming constraints like “if,” “while,” “do while,” etc., available in the program. DOI: 10.4018/jamc.2012040105 International Journal of Applied Metaheuristic Computing, 3(2), 56-74, April-June 2012 57 Copyright © 2012, IGI Global. Copying or distributing in print or electronic forms without written permission of IGI Global is prohibited. AI based technique helps in solving the problem by using fast and proper judgments rather than using step by step deduction (Naaz Raza, 2009). From the last decade various techniques like genetic algorithm, ant colony optimization and other metaheuristic techniques have been introduced for generating test path and test data (Korel, 1990; Michael et al., 1997; Michael & McGraw, 1998; McMinn, 2004; Kewen et al., 2009; Srivastava, Baby, & Raghurama, 2009). The main issues of various metaheuristic techniques (McMinn, 2004) are optimal test data generation and complete software coverage. Another new optimization technique, Intelligent Water Drop (IWD) (Shah-Hosseini, 2009), an algorithm which is based on swarm optimization techniques, can be used for generation of test data. IWD algorithm works similar to the natural water drop of a river bed. This paper applies IWD algorithm to generate test data and also discover existing paths in the program. This paper is structured as follows; first, we describe the background work of software testing. Then, we present the basic IWD optimization approach. The next section applies IWD approach to generate test path and sequence generation. We then describe the case study of the suggested approach for test data generation, while the next section discusses the analysis part. Finally we conclude the paper along with future scope of the applied approach.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Reputable Path Recognition in Wireless Sensor Network using Intelligent Water Drop

Applying trust in Wireless Sensor network (WSN) is an emerging area where researchers are engrossed in developing novel design archetype to address the security issues. Security plays an important role in WSN where trustworthy sensor node turns into a untrustworthy one because of hardware and software faults. Aim of the paper is to propose an optimized path coverage algorithm with the help of a...

متن کامل

Automated Test Data Generation Using Cuckoo Search and Tabu Search (CSTS) Algorithm

Software testing is a very important phase in the development of software. Testing includes the generation of test cases which, if done manually, is time consuming. To automate this process and generate optimal test cases, several meta-heuristic techniques have been developed. These approaches include genetic algorithm, cuckoo search, tabu search, intelligent water drop, etc. This paper present...

متن کامل

Loss of Load Expectation Assessment in Deregulated Power Systems Using Monte Carlo Simulation and Intelligent Systems

Deregulation policy has caused some changes in the concepts of power systems reliability assessment and enhancement. In this paper, generation reliability is considered, and a method for its assessment using intelligent systems is proposed. Also, because of power market and generators’ forced outages stochastic behavior, Monte Carlo Simulation is used for reliability evaluation. Generation r...

متن کامل

Optimizing Cost Function in Imperialist Competitive Algorithm for Path Coverage Problem in Software Testing

Search-based optimization methods have been used for software engineering activities such as software testing. In the field of software testing, search-based test data generation refers to application of meta-heuristic optimization methods to generate test data that cover the code space of a program. Automatic test data generation that can cover all the paths of software is known as a major cha...

متن کامل

Cluster Based Cross Layer Intelligent Service Discovery for Mobile Ad-Hoc Networks

The ability to discover services in Mobile Ad hoc Network (MANET) is a major prerequisite. Cluster basedcross layer intelligent service discovery for MANET (CBISD) is cluster based architecture, caching ofsemantic details of services and intelligent forwarding using network layer mechanisms. The cluster basedarchitecture using semantic knowledge provides scalability and accuracy. Also, the mini...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Int. J. of Applied Metaheuristic Computing

دوره 3  شماره 

صفحات  -

تاریخ انتشار 2012